import { getRequest, postRequest } from '@/libs/axios';

// region TODO adListingData
export const adListingDataAPI = param => postRequest('/advertisement/queryByPage', param);

// endregion

// region TODO 广告排序置顶
export const adTopAPI = param => postRequest('/advertisement/topSorting', param);

// endregion

// region TODO 添加广告
export const addAnADAPI = param => postRequest('/advertisement/add', param);

// endregion

// region TODO 修改广告
export const updateAnADAPI = param => postRequest('/advertisement/update', param);


// region TODO 删除广告
export const deleteAnADAPI = param => postRequest('/advertisement/delete', param);
// endregion
// region TODO 获取双选会数据
export const obtainDataAboutTheDualSelectionMeetingAPI = param => postRequest('/advertisement/getDoubleELection', param);

// endregion